The Slider Component > FSlider.getSmallStepAmount() |
FSlider.getSmallStepAmount()
Availability
Flash Player 6.
Usage
mySlider_sld.getSmallStepAmount ()
Parameters
none
Returns
Returns the small step amount.
Description
Returns the small step amount. The small step amount is the value of how much the thumb on the slider will move when the user presses an arrow keys on the keyboard. It only affects keyboard navigation.
Example
The slider_getLargeStepAmount.fla example file contains an example of using this method.
The following code sets and then retrieves the smallStepAmount for the slider component:
mySlider_sld.setSmallStepAmount(1); trace(mySlider_sld.getSmallStepAmount());//traces 1
See also